<?php $this->load->view("common/page_header");?>
	<?php $this->load->view("common/top_banner");?>
	<?php $this->load->view("common/header");?>
	<div id="body_main">
		<?php $this->load->view('common/user_top');?>
		<div class="top_border">
			<div class="arrow_up" style="left:90px"></div>
		</div>
		
		<div id="body_content" class="user_info">
			<?php $this->load->view("common/user_info_table");?>
			
			<div class="margin_top15">
				<?php $this->load->view("common/user_info_navigator");?>
				<div class="user_info_content">
					<div class="head">
						<ul class="suborder">
							<li class="<?php if($type == 'unread') {?>current<?php }?>"><a href="<?php echo site_url("user/messages")?>">未读信息</a></li>
							<li class="<?php if($type == 'system') {?>current<?php }?>"><a href="<?php echo site_url("user/messages?type=system")?>">系统信息</a></li>
							<li class="<?php if($type == 'private') {?>current<?php }?>"><a href="<?php echo site_url("user/messages?type=private")?>">私人信息</a></li>
							<li class="action"><a href="<?php echo site_url("user/message_create");?>">+发送信息</a></li>
						</ul>
						<?php
						if ($type == 'unread') {
							$left_temp = 56;
						} else if ($type == 'system') {
							$left_temp = 206;
						} else if ($type == 'private'){
							$left_temp = 356;		
						}
						?>
						<div class="arrow_up" style="left:<?php echo $left_temp;?>px;">						
							<em>◆</em>
							<span>◆</span>
						</div>
						<div class="clear"></div>
					</div>
					
					<?php $this->load->view('common/messages_list'); ?>
					
				</div>
				<div class="clear"></div>
			</div>
		</div>
		
		
		<?php $this->load->view("common/footer");?>		
		
		<p class="center">Page rendered in {elapsed_time} seconds</p>
	</div>
	
<?php $this->load->view("common/page_footer");?>
